package com.schpro.webexperiment.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * 使用redis 集成spring session
 *
 * @author lkr
 * @date 2019-01-31, Thu
 */
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 300)
public class HttpSessionConfig {
}
